package com.swagger.demo.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class OrderGoodsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderGoodsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOgIdIsNull() {
            addCriterion("og_id is null");
            return (Criteria) this;
        }

        public Criteria andOgIdIsNotNull() {
            addCriterion("og_id is not null");
            return (Criteria) this;
        }

        public Criteria andOgIdEqualTo(Long value) {
            addCriterion("og_id =", value, "ogId");
            return (Criteria) this;
        }

        public Criteria andOgIdNotEqualTo(Long value) {
            addCriterion("og_id <>", value, "ogId");
            return (Criteria) this;
        }

        public Criteria andOgIdGreaterThan(Long value) {
            addCriterion("og_id >", value, "ogId");
            return (Criteria) this;
        }

        public Criteria andOgIdGreaterThanOrEqualTo(Long value) {
            addCriterion("og_id >=", value, "ogId");
            return (Criteria) this;
        }

        public Criteria andOgIdLessThan(Long value) {
            addCriterion("og_id <", value, "ogId");
            return (Criteria) this;
        }

        public Criteria andOgIdLessThanOrEqualTo(Long value) {
            addCriterion("og_id <=", value, "ogId");
            return (Criteria) this;
        }

        public Criteria andOgIdIn(List<Long> values) {
            addCriterion("og_id in", values, "ogId");
            return (Criteria) this;
        }

        public Criteria andOgIdNotIn(List<Long> values) {
            addCriterion("og_id not in", values, "ogId");
            return (Criteria) this;
        }

        public Criteria andOgIdBetween(Long value1, Long value2) {
            addCriterion("og_id between", value1, value2, "ogId");
            return (Criteria) this;
        }

        public Criteria andOgIdNotBetween(Long value1, Long value2) {
            addCriterion("og_id not between", value1, value2, "ogId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Long value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Long value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Long value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Long value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Long> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Long> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Long value1, Long value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderSnIsNull() {
            addCriterion("order_sn is null");
            return (Criteria) this;
        }

        public Criteria andOrderSnIsNotNull() {
            addCriterion("order_sn is not null");
            return (Criteria) this;
        }

        public Criteria andOrderSnEqualTo(String value) {
            addCriterion("order_sn =", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotEqualTo(String value) {
            addCriterion("order_sn <>", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnGreaterThan(String value) {
            addCriterion("order_sn >", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnGreaterThanOrEqualTo(String value) {
            addCriterion("order_sn >=", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnLessThan(String value) {
            addCriterion("order_sn <", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnLessThanOrEqualTo(String value) {
            addCriterion("order_sn <=", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnLike(String value) {
            addCriterion("order_sn like", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotLike(String value) {
            addCriterion("order_sn not like", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnIn(List<String> values) {
            addCriterion("order_sn in", values, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotIn(List<String> values) {
            addCriterion("order_sn not in", values, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnBetween(String value1, String value2) {
            addCriterion("order_sn between", value1, value2, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotBetween(String value1, String value2) {
            addCriterion("order_sn not between", value1, value2, "orderSn");
            return (Criteria) this;
        }

        public Criteria andSkuIdIsNull() {
            addCriterion("sku_id is null");
            return (Criteria) this;
        }

        public Criteria andSkuIdIsNotNull() {
            addCriterion("sku_id is not null");
            return (Criteria) this;
        }

        public Criteria andSkuIdEqualTo(Long value) {
            addCriterion("sku_id =", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotEqualTo(Long value) {
            addCriterion("sku_id <>", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdGreaterThan(Long value) {
            addCriterion("sku_id >", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sku_id >=", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdLessThan(Long value) {
            addCriterion("sku_id <", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdLessThanOrEqualTo(Long value) {
            addCriterion("sku_id <=", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdIn(List<Long> values) {
            addCriterion("sku_id in", values, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotIn(List<Long> values) {
            addCriterion("sku_id not in", values, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdBetween(Long value1, Long value2) {
            addCriterion("sku_id between", value1, value2, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotBetween(Long value1, Long value2) {
            addCriterion("sku_id not between", value1, value2, "skuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdIsNull() {
            addCriterion("spu_id is null");
            return (Criteria) this;
        }

        public Criteria andSpuIdIsNotNull() {
            addCriterion("spu_id is not null");
            return (Criteria) this;
        }

        public Criteria andSpuIdEqualTo(Long value) {
            addCriterion("spu_id =", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdNotEqualTo(Long value) {
            addCriterion("spu_id <>", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdGreaterThan(Long value) {
            addCriterion("spu_id >", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdGreaterThanOrEqualTo(Long value) {
            addCriterion("spu_id >=", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdLessThan(Long value) {
            addCriterion("spu_id <", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdLessThanOrEqualTo(Long value) {
            addCriterion("spu_id <=", value, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdIn(List<Long> values) {
            addCriterion("spu_id in", values, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdNotIn(List<Long> values) {
            addCriterion("spu_id not in", values, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdBetween(Long value1, Long value2) {
            addCriterion("spu_id between", value1, value2, "spuId");
            return (Criteria) this;
        }

        public Criteria andSpuIdNotBetween(Long value1, Long value2) {
            addCriterion("spu_id not between", value1, value2, "spuId");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIsNull() {
            addCriterion("sku_code is null");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIsNotNull() {
            addCriterion("sku_code is not null");
            return (Criteria) this;
        }

        public Criteria andSkuCodeEqualTo(String value) {
            addCriterion("sku_code =", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotEqualTo(String value) {
            addCriterion("sku_code <>", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeGreaterThan(String value) {
            addCriterion("sku_code >", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeGreaterThanOrEqualTo(String value) {
            addCriterion("sku_code >=", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLessThan(String value) {
            addCriterion("sku_code <", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLessThanOrEqualTo(String value) {
            addCriterion("sku_code <=", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLike(String value) {
            addCriterion("sku_code like", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotLike(String value) {
            addCriterion("sku_code not like", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIn(List<String> values) {
            addCriterion("sku_code in", values, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotIn(List<String> values) {
            addCriterion("sku_code not in", values, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeBetween(String value1, String value2) {
            addCriterion("sku_code between", value1, value2, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotBetween(String value1, String value2) {
            addCriterion("sku_code not between", value1, value2, "skuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeIsNull() {
            addCriterion("group_sku_code is null");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeIsNotNull() {
            addCriterion("group_sku_code is not null");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeEqualTo(String value) {
            addCriterion("group_sku_code =", value, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeNotEqualTo(String value) {
            addCriterion("group_sku_code <>", value, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeGreaterThan(String value) {
            addCriterion("group_sku_code >", value, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeGreaterThanOrEqualTo(String value) {
            addCriterion("group_sku_code >=", value, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeLessThan(String value) {
            addCriterion("group_sku_code <", value, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeLessThanOrEqualTo(String value) {
            addCriterion("group_sku_code <=", value, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeLike(String value) {
            addCriterion("group_sku_code like", value, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeNotLike(String value) {
            addCriterion("group_sku_code not like", value, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeIn(List<String> values) {
            addCriterion("group_sku_code in", values, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeNotIn(List<String> values) {
            addCriterion("group_sku_code not in", values, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeBetween(String value1, String value2) {
            addCriterion("group_sku_code between", value1, value2, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andGroupSkuCodeNotBetween(String value1, String value2) {
            addCriterion("group_sku_code not between", value1, value2, "groupSkuCode");
            return (Criteria) this;
        }

        public Criteria andSpuNameIsNull() {
            addCriterion("spu_name is null");
            return (Criteria) this;
        }

        public Criteria andSpuNameIsNotNull() {
            addCriterion("spu_name is not null");
            return (Criteria) this;
        }

        public Criteria andSpuNameEqualTo(String value) {
            addCriterion("spu_name =", value, "spuName");
            return (Criteria) this;
        }

        public Criteria andSpuNameNotEqualTo(String value) {
            addCriterion("spu_name <>", value, "spuName");
            return (Criteria) this;
        }

        public Criteria andSpuNameGreaterThan(String value) {
            addCriterion("spu_name >", value, "spuName");
            return (Criteria) this;
        }

        public Criteria andSpuNameGreaterThanOrEqualTo(String value) {
            addCriterion("spu_name >=", value, "spuName");
            return (Criteria) this;
        }

        public Criteria andSpuNameLessThan(String value) {
            addCriterion("spu_name <", value, "spuName");
            return (Criteria) this;
        }

        public Criteria andSpuNameLessThanOrEqualTo(String value) {
            addCriterion("spu_name <=", value, "spuName");
            return (Criteria) this;
        }

        public Criteria andSpuNameLike(String value) {
            addCriterion("spu_name like", value, "spuName");
            return (Criteria) this;
        }

        public Criteria andSpuNameNotLike(String value) {
            addCriterion("spu_name not like", value, "spuName");
            return (Criteria) this;
        }

        public Criteria andSpuNameIn(List<String> values) {
            addCriterion("spu_name in", values, "spuName");
            return (Criteria) this;
        }

        public Criteria andSpuNameNotIn(List<String> values) {
            addCriterion("spu_name not in", values, "spuName");
            return (Criteria) this;
        }

        public Criteria andSpuNameBetween(String value1, String value2) {
            addCriterion("spu_name between", value1, value2, "spuName");
            return (Criteria) this;
        }

        public Criteria andSpuNameNotBetween(String value1, String value2) {
            addCriterion("spu_name not between", value1, value2, "spuName");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsIsNull() {
            addCriterion("sku_specs is null");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsIsNotNull() {
            addCriterion("sku_specs is not null");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsEqualTo(String value) {
            addCriterion("sku_specs =", value, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsNotEqualTo(String value) {
            addCriterion("sku_specs <>", value, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsGreaterThan(String value) {
            addCriterion("sku_specs >", value, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsGreaterThanOrEqualTo(String value) {
            addCriterion("sku_specs >=", value, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsLessThan(String value) {
            addCriterion("sku_specs <", value, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsLessThanOrEqualTo(String value) {
            addCriterion("sku_specs <=", value, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsLike(String value) {
            addCriterion("sku_specs like", value, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsNotLike(String value) {
            addCriterion("sku_specs not like", value, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsIn(List<String> values) {
            addCriterion("sku_specs in", values, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsNotIn(List<String> values) {
            addCriterion("sku_specs not in", values, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsBetween(String value1, String value2) {
            addCriterion("sku_specs between", value1, value2, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andSkuSpecsNotBetween(String value1, String value2) {
            addCriterion("sku_specs not between", value1, value2, "skuSpecs");
            return (Criteria) this;
        }

        public Criteria andBrandIsNull() {
            addCriterion("brand is null");
            return (Criteria) this;
        }

        public Criteria andBrandIsNotNull() {
            addCriterion("brand is not null");
            return (Criteria) this;
        }

        public Criteria andBrandEqualTo(String value) {
            addCriterion("brand =", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotEqualTo(String value) {
            addCriterion("brand <>", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThan(String value) {
            addCriterion("brand >", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThanOrEqualTo(String value) {
            addCriterion("brand >=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThan(String value) {
            addCriterion("brand <", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThanOrEqualTo(String value) {
            addCriterion("brand <=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLike(String value) {
            addCriterion("brand like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotLike(String value) {
            addCriterion("brand not like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandIn(List<String> values) {
            addCriterion("brand in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotIn(List<String> values) {
            addCriterion("brand not in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandBetween(String value1, String value2) {
            addCriterion("brand between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotBetween(String value1, String value2) {
            addCriterion("brand not between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andUnitIdIsNull() {
            addCriterion("unit_id is null");
            return (Criteria) this;
        }

        public Criteria andUnitIdIsNotNull() {
            addCriterion("unit_id is not null");
            return (Criteria) this;
        }

        public Criteria andUnitIdEqualTo(Long value) {
            addCriterion("unit_id =", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdNotEqualTo(Long value) {
            addCriterion("unit_id <>", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdGreaterThan(Long value) {
            addCriterion("unit_id >", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdGreaterThanOrEqualTo(Long value) {
            addCriterion("unit_id >=", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdLessThan(Long value) {
            addCriterion("unit_id <", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdLessThanOrEqualTo(Long value) {
            addCriterion("unit_id <=", value, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdIn(List<Long> values) {
            addCriterion("unit_id in", values, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdNotIn(List<Long> values) {
            addCriterion("unit_id not in", values, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdBetween(Long value1, Long value2) {
            addCriterion("unit_id between", value1, value2, "unitId");
            return (Criteria) this;
        }

        public Criteria andUnitIdNotBetween(Long value1, Long value2) {
            addCriterion("unit_id not between", value1, value2, "unitId");
            return (Criteria) this;
        }

        public Criteria andSaveCountIsNull() {
            addCriterion("save_count is null");
            return (Criteria) this;
        }

        public Criteria andSaveCountIsNotNull() {
            addCriterion("save_count is not null");
            return (Criteria) this;
        }

        public Criteria andSaveCountEqualTo(Integer value) {
            addCriterion("save_count =", value, "saveCount");
            return (Criteria) this;
        }

        public Criteria andSaveCountNotEqualTo(Integer value) {
            addCriterion("save_count <>", value, "saveCount");
            return (Criteria) this;
        }

        public Criteria andSaveCountGreaterThan(Integer value) {
            addCriterion("save_count >", value, "saveCount");
            return (Criteria) this;
        }

        public Criteria andSaveCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("save_count >=", value, "saveCount");
            return (Criteria) this;
        }

        public Criteria andSaveCountLessThan(Integer value) {
            addCriterion("save_count <", value, "saveCount");
            return (Criteria) this;
        }

        public Criteria andSaveCountLessThanOrEqualTo(Integer value) {
            addCriterion("save_count <=", value, "saveCount");
            return (Criteria) this;
        }

        public Criteria andSaveCountIn(List<Integer> values) {
            addCriterion("save_count in", values, "saveCount");
            return (Criteria) this;
        }

        public Criteria andSaveCountNotIn(List<Integer> values) {
            addCriterion("save_count not in", values, "saveCount");
            return (Criteria) this;
        }

        public Criteria andSaveCountBetween(Integer value1, Integer value2) {
            addCriterion("save_count between", value1, value2, "saveCount");
            return (Criteria) this;
        }

        public Criteria andSaveCountNotBetween(Integer value1, Integer value2) {
            addCriterion("save_count not between", value1, value2, "saveCount");
            return (Criteria) this;
        }

        public Criteria andCountIsNull() {
            addCriterion("count is null");
            return (Criteria) this;
        }

        public Criteria andCountIsNotNull() {
            addCriterion("count is not null");
            return (Criteria) this;
        }

        public Criteria andCountEqualTo(Integer value) {
            addCriterion("count =", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotEqualTo(Integer value) {
            addCriterion("count <>", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThan(Integer value) {
            addCriterion("count >", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("count >=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThan(Integer value) {
            addCriterion("count <", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThanOrEqualTo(Integer value) {
            addCriterion("count <=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountIn(List<Integer> values) {
            addCriterion("count in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotIn(List<Integer> values) {
            addCriterion("count not in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountBetween(Integer value1, Integer value2) {
            addCriterion("count between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotBetween(Integer value1, Integer value2) {
            addCriterion("count not between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andReturnCountIsNull() {
            addCriterion("return_count is null");
            return (Criteria) this;
        }

        public Criteria andReturnCountIsNotNull() {
            addCriterion("return_count is not null");
            return (Criteria) this;
        }

        public Criteria andReturnCountEqualTo(Integer value) {
            addCriterion("return_count =", value, "returnCount");
            return (Criteria) this;
        }

        public Criteria andReturnCountNotEqualTo(Integer value) {
            addCriterion("return_count <>", value, "returnCount");
            return (Criteria) this;
        }

        public Criteria andReturnCountGreaterThan(Integer value) {
            addCriterion("return_count >", value, "returnCount");
            return (Criteria) this;
        }

        public Criteria andReturnCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("return_count >=", value, "returnCount");
            return (Criteria) this;
        }

        public Criteria andReturnCountLessThan(Integer value) {
            addCriterion("return_count <", value, "returnCount");
            return (Criteria) this;
        }

        public Criteria andReturnCountLessThanOrEqualTo(Integer value) {
            addCriterion("return_count <=", value, "returnCount");
            return (Criteria) this;
        }

        public Criteria andReturnCountIn(List<Integer> values) {
            addCriterion("return_count in", values, "returnCount");
            return (Criteria) this;
        }

        public Criteria andReturnCountNotIn(List<Integer> values) {
            addCriterion("return_count not in", values, "returnCount");
            return (Criteria) this;
        }

        public Criteria andReturnCountBetween(Integer value1, Integer value2) {
            addCriterion("return_count between", value1, value2, "returnCount");
            return (Criteria) this;
        }

        public Criteria andReturnCountNotBetween(Integer value1, Integer value2) {
            addCriterion("return_count not between", value1, value2, "returnCount");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Double value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Double value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Double value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Double value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Double value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Double> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Double> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Double value1, Double value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Double value1, Double value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andTaxAmountIsNull() {
            addCriterion("tax_amount is null");
            return (Criteria) this;
        }

        public Criteria andTaxAmountIsNotNull() {
            addCriterion("tax_amount is not null");
            return (Criteria) this;
        }

        public Criteria andTaxAmountEqualTo(Double value) {
            addCriterion("tax_amount =", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountNotEqualTo(Double value) {
            addCriterion("tax_amount <>", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountGreaterThan(Double value) {
            addCriterion("tax_amount >", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("tax_amount >=", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountLessThan(Double value) {
            addCriterion("tax_amount <", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountLessThanOrEqualTo(Double value) {
            addCriterion("tax_amount <=", value, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountIn(List<Double> values) {
            addCriterion("tax_amount in", values, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountNotIn(List<Double> values) {
            addCriterion("tax_amount not in", values, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountBetween(Double value1, Double value2) {
            addCriterion("tax_amount between", value1, value2, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andTaxAmountNotBetween(Double value1, Double value2) {
            addCriterion("tax_amount not between", value1, value2, "taxAmount");
            return (Criteria) this;
        }

        public Criteria andRatioAmountIsNull() {
            addCriterion("ratio_amount is null");
            return (Criteria) this;
        }

        public Criteria andRatioAmountIsNotNull() {
            addCriterion("ratio_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRatioAmountEqualTo(Double value) {
            addCriterion("ratio_amount =", value, "ratioAmount");
            return (Criteria) this;
        }

        public Criteria andRatioAmountNotEqualTo(Double value) {
            addCriterion("ratio_amount <>", value, "ratioAmount");
            return (Criteria) this;
        }

        public Criteria andRatioAmountGreaterThan(Double value) {
            addCriterion("ratio_amount >", value, "ratioAmount");
            return (Criteria) this;
        }

        public Criteria andRatioAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("ratio_amount >=", value, "ratioAmount");
            return (Criteria) this;
        }

        public Criteria andRatioAmountLessThan(Double value) {
            addCriterion("ratio_amount <", value, "ratioAmount");
            return (Criteria) this;
        }

        public Criteria andRatioAmountLessThanOrEqualTo(Double value) {
            addCriterion("ratio_amount <=", value, "ratioAmount");
            return (Criteria) this;
        }

        public Criteria andRatioAmountIn(List<Double> values) {
            addCriterion("ratio_amount in", values, "ratioAmount");
            return (Criteria) this;
        }

        public Criteria andRatioAmountNotIn(List<Double> values) {
            addCriterion("ratio_amount not in", values, "ratioAmount");
            return (Criteria) this;
        }

        public Criteria andRatioAmountBetween(Double value1, Double value2) {
            addCriterion("ratio_amount between", value1, value2, "ratioAmount");
            return (Criteria) this;
        }

        public Criteria andRatioAmountNotBetween(Double value1, Double value2) {
            addCriterion("ratio_amount not between", value1, value2, "ratioAmount");
            return (Criteria) this;
        }

        public Criteria andRedAmountIsNull() {
            addCriterion("red_amount is null");
            return (Criteria) this;
        }

        public Criteria andRedAmountIsNotNull() {
            addCriterion("red_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRedAmountEqualTo(Double value) {
            addCriterion("red_amount =", value, "redAmount");
            return (Criteria) this;
        }

        public Criteria andRedAmountNotEqualTo(Double value) {
            addCriterion("red_amount <>", value, "redAmount");
            return (Criteria) this;
        }

        public Criteria andRedAmountGreaterThan(Double value) {
            addCriterion("red_amount >", value, "redAmount");
            return (Criteria) this;
        }

        public Criteria andRedAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("red_amount >=", value, "redAmount");
            return (Criteria) this;
        }

        public Criteria andRedAmountLessThan(Double value) {
            addCriterion("red_amount <", value, "redAmount");
            return (Criteria) this;
        }

        public Criteria andRedAmountLessThanOrEqualTo(Double value) {
            addCriterion("red_amount <=", value, "redAmount");
            return (Criteria) this;
        }

        public Criteria andRedAmountIn(List<Double> values) {
            addCriterion("red_amount in", values, "redAmount");
            return (Criteria) this;
        }

        public Criteria andRedAmountNotIn(List<Double> values) {
            addCriterion("red_amount not in", values, "redAmount");
            return (Criteria) this;
        }

        public Criteria andRedAmountBetween(Double value1, Double value2) {
            addCriterion("red_amount between", value1, value2, "redAmount");
            return (Criteria) this;
        }

        public Criteria andRedAmountNotBetween(Double value1, Double value2) {
            addCriterion("red_amount not between", value1, value2, "redAmount");
            return (Criteria) this;
        }

        public Criteria andShippingFeeIsNull() {
            addCriterion("shipping_fee is null");
            return (Criteria) this;
        }

        public Criteria andShippingFeeIsNotNull() {
            addCriterion("shipping_fee is not null");
            return (Criteria) this;
        }

        public Criteria andShippingFeeEqualTo(Double value) {
            addCriterion("shipping_fee =", value, "shippingFee");
            return (Criteria) this;
        }

        public Criteria andShippingFeeNotEqualTo(Double value) {
            addCriterion("shipping_fee <>", value, "shippingFee");
            return (Criteria) this;
        }

        public Criteria andShippingFeeGreaterThan(Double value) {
            addCriterion("shipping_fee >", value, "shippingFee");
            return (Criteria) this;
        }

        public Criteria andShippingFeeGreaterThanOrEqualTo(Double value) {
            addCriterion("shipping_fee >=", value, "shippingFee");
            return (Criteria) this;
        }

        public Criteria andShippingFeeLessThan(Double value) {
            addCriterion("shipping_fee <", value, "shippingFee");
            return (Criteria) this;
        }

        public Criteria andShippingFeeLessThanOrEqualTo(Double value) {
            addCriterion("shipping_fee <=", value, "shippingFee");
            return (Criteria) this;
        }

        public Criteria andShippingFeeIn(List<Double> values) {
            addCriterion("shipping_fee in", values, "shippingFee");
            return (Criteria) this;
        }

        public Criteria andShippingFeeNotIn(List<Double> values) {
            addCriterion("shipping_fee not in", values, "shippingFee");
            return (Criteria) this;
        }

        public Criteria andShippingFeeBetween(Double value1, Double value2) {
            addCriterion("shipping_fee between", value1, value2, "shippingFee");
            return (Criteria) this;
        }

        public Criteria andShippingFeeNotBetween(Double value1, Double value2) {
            addCriterion("shipping_fee not between", value1, value2, "shippingFee");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNull() {
            addCriterion("store_id is null");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNotNull() {
            addCriterion("store_id is not null");
            return (Criteria) this;
        }

        public Criteria andStoreIdEqualTo(Long value) {
            addCriterion("store_id =", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotEqualTo(Long value) {
            addCriterion("store_id <>", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThan(Long value) {
            addCriterion("store_id >", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanOrEqualTo(Long value) {
            addCriterion("store_id >=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThan(Long value) {
            addCriterion("store_id <", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanOrEqualTo(Long value) {
            addCriterion("store_id <=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdIn(List<Long> values) {
            addCriterion("store_id in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotIn(List<Long> values) {
            addCriterion("store_id not in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdBetween(Long value1, Long value2) {
            addCriterion("store_id between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotBetween(Long value1, Long value2) {
            addCriterion("store_id not between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNull() {
            addCriterion("category_id is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNotNull() {
            addCriterion("category_id is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdEqualTo(Long value) {
            addCriterion("category_id =", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotEqualTo(Long value) {
            addCriterion("category_id <>", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThan(Long value) {
            addCriterion("category_id >", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) {
            addCriterion("category_id >=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThan(Long value) {
            addCriterion("category_id <", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThanOrEqualTo(Long value) {
            addCriterion("category_id <=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIn(List<Long> values) {
            addCriterion("category_id in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotIn(List<Long> values) {
            addCriterion("category_id not in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdBetween(Long value1, Long value2) {
            addCriterion("category_id between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotBetween(Long value1, Long value2) {
            addCriterion("category_id not between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdIsNull() {
            addCriterion("sku_img_id is null");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdIsNotNull() {
            addCriterion("sku_img_id is not null");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdEqualTo(Long value) {
            addCriterion("sku_img_id =", value, "skuImgId");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdNotEqualTo(Long value) {
            addCriterion("sku_img_id <>", value, "skuImgId");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdGreaterThan(Long value) {
            addCriterion("sku_img_id >", value, "skuImgId");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sku_img_id >=", value, "skuImgId");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdLessThan(Long value) {
            addCriterion("sku_img_id <", value, "skuImgId");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdLessThanOrEqualTo(Long value) {
            addCriterion("sku_img_id <=", value, "skuImgId");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdIn(List<Long> values) {
            addCriterion("sku_img_id in", values, "skuImgId");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdNotIn(List<Long> values) {
            addCriterion("sku_img_id not in", values, "skuImgId");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdBetween(Long value1, Long value2) {
            addCriterion("sku_img_id between", value1, value2, "skuImgId");
            return (Criteria) this;
        }

        public Criteria andSkuImgIdNotBetween(Long value1, Long value2) {
            addCriterion("sku_img_id not between", value1, value2, "skuImgId");
            return (Criteria) this;
        }

        public Criteria andOptimisticIsNull() {
            addCriterion("optimistic is null");
            return (Criteria) this;
        }

        public Criteria andOptimisticIsNotNull() {
            addCriterion("optimistic is not null");
            return (Criteria) this;
        }

        public Criteria andOptimisticEqualTo(Integer value) {
            addCriterion("optimistic =", value, "optimistic");
            return (Criteria) this;
        }

        public Criteria andOptimisticNotEqualTo(Integer value) {
            addCriterion("optimistic <>", value, "optimistic");
            return (Criteria) this;
        }

        public Criteria andOptimisticGreaterThan(Integer value) {
            addCriterion("optimistic >", value, "optimistic");
            return (Criteria) this;
        }

        public Criteria andOptimisticGreaterThanOrEqualTo(Integer value) {
            addCriterion("optimistic >=", value, "optimistic");
            return (Criteria) this;
        }

        public Criteria andOptimisticLessThan(Integer value) {
            addCriterion("optimistic <", value, "optimistic");
            return (Criteria) this;
        }

        public Criteria andOptimisticLessThanOrEqualTo(Integer value) {
            addCriterion("optimistic <=", value, "optimistic");
            return (Criteria) this;
        }

        public Criteria andOptimisticIn(List<Integer> values) {
            addCriterion("optimistic in", values, "optimistic");
            return (Criteria) this;
        }

        public Criteria andOptimisticNotIn(List<Integer> values) {
            addCriterion("optimistic not in", values, "optimistic");
            return (Criteria) this;
        }

        public Criteria andOptimisticBetween(Integer value1, Integer value2) {
            addCriterion("optimistic between", value1, value2, "optimistic");
            return (Criteria) this;
        }

        public Criteria andOptimisticNotBetween(Integer value1, Integer value2) {
            addCriterion("optimistic not between", value1, value2, "optimistic");
            return (Criteria) this;
        }

        public Criteria andServiceSnIsNull() {
            addCriterion("service_sn is null");
            return (Criteria) this;
        }

        public Criteria andServiceSnIsNotNull() {
            addCriterion("service_sn is not null");
            return (Criteria) this;
        }

        public Criteria andServiceSnEqualTo(String value) {
            addCriterion("service_sn =", value, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andServiceSnNotEqualTo(String value) {
            addCriterion("service_sn <>", value, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andServiceSnGreaterThan(String value) {
            addCriterion("service_sn >", value, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andServiceSnGreaterThanOrEqualTo(String value) {
            addCriterion("service_sn >=", value, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andServiceSnLessThan(String value) {
            addCriterion("service_sn <", value, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andServiceSnLessThanOrEqualTo(String value) {
            addCriterion("service_sn <=", value, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andServiceSnLike(String value) {
            addCriterion("service_sn like", value, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andServiceSnNotLike(String value) {
            addCriterion("service_sn not like", value, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andServiceSnIn(List<String> values) {
            addCriterion("service_sn in", values, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andServiceSnNotIn(List<String> values) {
            addCriterion("service_sn not in", values, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andServiceSnBetween(String value1, String value2) {
            addCriterion("service_sn between", value1, value2, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andServiceSnNotBetween(String value1, String value2) {
            addCriterion("service_sn not between", value1, value2, "serviceSn");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNull() {
            addCriterion("is_del is null");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNotNull() {
            addCriterion("is_del is not null");
            return (Criteria) this;
        }

        public Criteria andIsDelEqualTo(Boolean value) {
            addCriterion("is_del =", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotEqualTo(Boolean value) {
            addCriterion("is_del <>", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThan(Boolean value) {
            addCriterion("is_del >", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_del >=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThan(Boolean value) {
            addCriterion("is_del <", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThanOrEqualTo(Boolean value) {
            addCriterion("is_del <=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelIn(List<Boolean> values) {
            addCriterion("is_del in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotIn(List<Boolean> values) {
            addCriterion("is_del not in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelBetween(Boolean value1, Boolean value2) {
            addCriterion("is_del between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_del not between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Long value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Long value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Long value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Long value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Long> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Long> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Long value1, Long value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Long value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Long value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Long value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Long value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Long value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Long> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Long> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Long value1, Long value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Long value1, Long value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andIsGroupIsNull() {
            addCriterion("is_group is null");
            return (Criteria) this;
        }

        public Criteria andIsGroupIsNotNull() {
            addCriterion("is_group is not null");
            return (Criteria) this;
        }

        public Criteria andIsGroupEqualTo(Boolean value) {
            addCriterion("is_group =", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupNotEqualTo(Boolean value) {
            addCriterion("is_group <>", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupGreaterThan(Boolean value) {
            addCriterion("is_group >", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_group >=", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupLessThan(Boolean value) {
            addCriterion("is_group <", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupLessThanOrEqualTo(Boolean value) {
            addCriterion("is_group <=", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupIn(List<Boolean> values) {
            addCriterion("is_group in", values, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupNotIn(List<Boolean> values) {
            addCriterion("is_group not in", values, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupBetween(Boolean value1, Boolean value2) {
            addCriterion("is_group between", value1, value2, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_group not between", value1, value2, "isGroup");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceIsNull() {
            addCriterion("markup_price is null");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceIsNotNull() {
            addCriterion("markup_price is not null");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceEqualTo(Double value) {
            addCriterion("markup_price =", value, "markupPrice");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceNotEqualTo(Double value) {
            addCriterion("markup_price <>", value, "markupPrice");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceGreaterThan(Double value) {
            addCriterion("markup_price >", value, "markupPrice");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("markup_price >=", value, "markupPrice");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceLessThan(Double value) {
            addCriterion("markup_price <", value, "markupPrice");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceLessThanOrEqualTo(Double value) {
            addCriterion("markup_price <=", value, "markupPrice");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceIn(List<Double> values) {
            addCriterion("markup_price in", values, "markupPrice");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceNotIn(List<Double> values) {
            addCriterion("markup_price not in", values, "markupPrice");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceBetween(Double value1, Double value2) {
            addCriterion("markup_price between", value1, value2, "markupPrice");
            return (Criteria) this;
        }

        public Criteria andMarkupPriceNotBetween(Double value1, Double value2) {
            addCriterion("markup_price not between", value1, value2, "markupPrice");
            return (Criteria) this;
        }

        public Criteria andOthersIsNull() {
            addCriterion("others is null");
            return (Criteria) this;
        }

        public Criteria andOthersIsNotNull() {
            addCriterion("others is not null");
            return (Criteria) this;
        }

        public Criteria andOthersEqualTo(String value) {
            addCriterion("others =", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersNotEqualTo(String value) {
            addCriterion("others <>", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersGreaterThan(String value) {
            addCriterion("others >", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersGreaterThanOrEqualTo(String value) {
            addCriterion("others >=", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersLessThan(String value) {
            addCriterion("others <", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersLessThanOrEqualTo(String value) {
            addCriterion("others <=", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersLike(String value) {
            addCriterion("others like", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersNotLike(String value) {
            addCriterion("others not like", value, "others");
            return (Criteria) this;
        }

        public Criteria andOthersIn(List<String> values) {
            addCriterion("others in", values, "others");
            return (Criteria) this;
        }

        public Criteria andOthersNotIn(List<String> values) {
            addCriterion("others not in", values, "others");
            return (Criteria) this;
        }

        public Criteria andOthersBetween(String value1, String value2) {
            addCriterion("others between", value1, value2, "others");
            return (Criteria) this;
        }

        public Criteria andOthersNotBetween(String value1, String value2) {
            addCriterion("others not between", value1, value2, "others");
            return (Criteria) this;
        }

        public Criteria andActivityTypeIsNull() {
            addCriterion("activity_type is null");
            return (Criteria) this;
        }

        public Criteria andActivityTypeIsNotNull() {
            addCriterion("activity_type is not null");
            return (Criteria) this;
        }

        public Criteria andActivityTypeEqualTo(String value) {
            addCriterion("activity_type =", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeNotEqualTo(String value) {
            addCriterion("activity_type <>", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeGreaterThan(String value) {
            addCriterion("activity_type >", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeGreaterThanOrEqualTo(String value) {
            addCriterion("activity_type >=", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeLessThan(String value) {
            addCriterion("activity_type <", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeLessThanOrEqualTo(String value) {
            addCriterion("activity_type <=", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeLike(String value) {
            addCriterion("activity_type like", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeNotLike(String value) {
            addCriterion("activity_type not like", value, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeIn(List<String> values) {
            addCriterion("activity_type in", values, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeNotIn(List<String> values) {
            addCriterion("activity_type not in", values, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeBetween(String value1, String value2) {
            addCriterion("activity_type between", value1, value2, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityTypeNotBetween(String value1, String value2) {
            addCriterion("activity_type not between", value1, value2, "activityType");
            return (Criteria) this;
        }

        public Criteria andActivityCodeIsNull() {
            addCriterion("activity_code is null");
            return (Criteria) this;
        }

        public Criteria andActivityCodeIsNotNull() {
            addCriterion("activity_code is not null");
            return (Criteria) this;
        }

        public Criteria andActivityCodeEqualTo(String value) {
            addCriterion("activity_code =", value, "activityCode");
            return (Criteria) this;
        }

        public Criteria andActivityCodeNotEqualTo(String value) {
            addCriterion("activity_code <>", value, "activityCode");
            return (Criteria) this;
        }

        public Criteria andActivityCodeGreaterThan(String value) {
            addCriterion("activity_code >", value, "activityCode");
            return (Criteria) this;
        }

        public Criteria andActivityCodeGreaterThanOrEqualTo(String value) {
            addCriterion("activity_code >=", value, "activityCode");
            return (Criteria) this;
        }

        public Criteria andActivityCodeLessThan(String value) {
            addCriterion("activity_code <", value, "activityCode");
            return (Criteria) this;
        }

        public Criteria andActivityCodeLessThanOrEqualTo(String value) {
            addCriterion("activity_code <=", value, "activityCode");
            return (Criteria) this;
        }

        public Criteria andActivityCodeLike(String value) {
            addCriterion("activity_code like", value, "activityCode");
            return (Criteria) this;
        }

        public Criteria andActivityCodeNotLike(String value) {
            addCriterion("activity_code not like", value, "activityCode");
            return (Criteria) this;
        }

        public Criteria andActivityCodeIn(List<String> values) {
            addCriterion("activity_code in", values, "activityCode");
            return (Criteria) this;
        }

        public Criteria andActivityCodeNotIn(List<String> values) {
            addCriterion("activity_code not in", values, "activityCode");
            return (Criteria) this;
        }

        public Criteria andActivityCodeBetween(String value1, String value2) {
            addCriterion("activity_code between", value1, value2, "activityCode");
            return (Criteria) this;
        }

        public Criteria andActivityCodeNotBetween(String value1, String value2) {
            addCriterion("activity_code not between", value1, value2, "activityCode");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceIsNull() {
            addCriterion("pop_cost_price is null");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceIsNotNull() {
            addCriterion("pop_cost_price is not null");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceEqualTo(BigDecimal value) {
            addCriterion("pop_cost_price =", value, "popCostPrice");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceNotEqualTo(BigDecimal value) {
            addCriterion("pop_cost_price <>", value, "popCostPrice");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceGreaterThan(BigDecimal value) {
            addCriterion("pop_cost_price >", value, "popCostPrice");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pop_cost_price >=", value, "popCostPrice");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceLessThan(BigDecimal value) {
            addCriterion("pop_cost_price <", value, "popCostPrice");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pop_cost_price <=", value, "popCostPrice");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceIn(List<BigDecimal> values) {
            addCriterion("pop_cost_price in", values, "popCostPrice");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceNotIn(List<BigDecimal> values) {
            addCriterion("pop_cost_price not in", values, "popCostPrice");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pop_cost_price between", value1, value2, "popCostPrice");
            return (Criteria) this;
        }

        public Criteria andPopCostPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pop_cost_price not between", value1, value2, "popCostPrice");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyIsNull() {
            addCriterion("manual_refund_money is null");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyIsNotNull() {
            addCriterion("manual_refund_money is not null");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyEqualTo(BigDecimal value) {
            addCriterion("manual_refund_money =", value, "manualRefundMoney");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyNotEqualTo(BigDecimal value) {
            addCriterion("manual_refund_money <>", value, "manualRefundMoney");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyGreaterThan(BigDecimal value) {
            addCriterion("manual_refund_money >", value, "manualRefundMoney");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("manual_refund_money >=", value, "manualRefundMoney");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyLessThan(BigDecimal value) {
            addCriterion("manual_refund_money <", value, "manualRefundMoney");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("manual_refund_money <=", value, "manualRefundMoney");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyIn(List<BigDecimal> values) {
            addCriterion("manual_refund_money in", values, "manualRefundMoney");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyNotIn(List<BigDecimal> values) {
            addCriterion("manual_refund_money not in", values, "manualRefundMoney");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("manual_refund_money between", value1, value2, "manualRefundMoney");
            return (Criteria) this;
        }

        public Criteria andManualRefundMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("manual_refund_money not between", value1, value2, "manualRefundMoney");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdIsNull() {
            addCriterion("goods_place_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdIsNotNull() {
            addCriterion("goods_place_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdEqualTo(Long value) {
            addCriterion("goods_place_id =", value, "goodsPlaceId");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdNotEqualTo(Long value) {
            addCriterion("goods_place_id <>", value, "goodsPlaceId");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdGreaterThan(Long value) {
            addCriterion("goods_place_id >", value, "goodsPlaceId");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdGreaterThanOrEqualTo(Long value) {
            addCriterion("goods_place_id >=", value, "goodsPlaceId");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdLessThan(Long value) {
            addCriterion("goods_place_id <", value, "goodsPlaceId");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdLessThanOrEqualTo(Long value) {
            addCriterion("goods_place_id <=", value, "goodsPlaceId");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdIn(List<Long> values) {
            addCriterion("goods_place_id in", values, "goodsPlaceId");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdNotIn(List<Long> values) {
            addCriterion("goods_place_id not in", values, "goodsPlaceId");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdBetween(Long value1, Long value2) {
            addCriterion("goods_place_id between", value1, value2, "goodsPlaceId");
            return (Criteria) this;
        }

        public Criteria andGoodsPlaceIdNotBetween(Long value1, Long value2) {
            addCriterion("goods_place_id not between", value1, value2, "goodsPlaceId");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusIsNull() {
            addCriterion("join_bonus_status is null");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusIsNotNull() {
            addCriterion("join_bonus_status is not null");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusEqualTo(Boolean value) {
            addCriterion("join_bonus_status =", value, "joinBonusStatus");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusNotEqualTo(Boolean value) {
            addCriterion("join_bonus_status <>", value, "joinBonusStatus");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusGreaterThan(Boolean value) {
            addCriterion("join_bonus_status >", value, "joinBonusStatus");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusGreaterThanOrEqualTo(Boolean value) {
            addCriterion("join_bonus_status >=", value, "joinBonusStatus");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusLessThan(Boolean value) {
            addCriterion("join_bonus_status <", value, "joinBonusStatus");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusLessThanOrEqualTo(Boolean value) {
            addCriterion("join_bonus_status <=", value, "joinBonusStatus");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusIn(List<Boolean> values) {
            addCriterion("join_bonus_status in", values, "joinBonusStatus");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusNotIn(List<Boolean> values) {
            addCriterion("join_bonus_status not in", values, "joinBonusStatus");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusBetween(Boolean value1, Boolean value2) {
            addCriterion("join_bonus_status between", value1, value2, "joinBonusStatus");
            return (Criteria) this;
        }

        public Criteria andJoinBonusStatusNotBetween(Boolean value1, Boolean value2) {
            addCriterion("join_bonus_status not between", value1, value2, "joinBonusStatus");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateIsNull() {
            addCriterion("goods_commission_rate is null");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateIsNotNull() {
            addCriterion("goods_commission_rate is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateEqualTo(Double value) {
            addCriterion("goods_commission_rate =", value, "goodsCommissionRate");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateNotEqualTo(Double value) {
            addCriterion("goods_commission_rate <>", value, "goodsCommissionRate");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateGreaterThan(Double value) {
            addCriterion("goods_commission_rate >", value, "goodsCommissionRate");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateGreaterThanOrEqualTo(Double value) {
            addCriterion("goods_commission_rate >=", value, "goodsCommissionRate");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateLessThan(Double value) {
            addCriterion("goods_commission_rate <", value, "goodsCommissionRate");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateLessThanOrEqualTo(Double value) {
            addCriterion("goods_commission_rate <=", value, "goodsCommissionRate");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateIn(List<Double> values) {
            addCriterion("goods_commission_rate in", values, "goodsCommissionRate");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateNotIn(List<Double> values) {
            addCriterion("goods_commission_rate not in", values, "goodsCommissionRate");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateBetween(Double value1, Double value2) {
            addCriterion("goods_commission_rate between", value1, value2, "goodsCommissionRate");
            return (Criteria) this;
        }

        public Criteria andGoodsCommissionRateNotBetween(Double value1, Double value2) {
            addCriterion("goods_commission_rate not between", value1, value2, "goodsCommissionRate");
            return (Criteria) this;
        }

        public Criteria andServiceChargeIsNull() {
            addCriterion("service_charge is null");
            return (Criteria) this;
        }

        public Criteria andServiceChargeIsNotNull() {
            addCriterion("service_charge is not null");
            return (Criteria) this;
        }

        public Criteria andServiceChargeEqualTo(Double value) {
            addCriterion("service_charge =", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeNotEqualTo(Double value) {
            addCriterion("service_charge <>", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeGreaterThan(Double value) {
            addCriterion("service_charge >", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeGreaterThanOrEqualTo(Double value) {
            addCriterion("service_charge >=", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeLessThan(Double value) {
            addCriterion("service_charge <", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeLessThanOrEqualTo(Double value) {
            addCriterion("service_charge <=", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeIn(List<Double> values) {
            addCriterion("service_charge in", values, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeNotIn(List<Double> values) {
            addCriterion("service_charge not in", values, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeBetween(Double value1, Double value2) {
            addCriterion("service_charge between", value1, value2, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeNotBetween(Double value1, Double value2) {
            addCriterion("service_charge not between", value1, value2, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIsNull() {
            addCriterion("supplier_id is null");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIsNotNull() {
            addCriterion("supplier_id is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierIdEqualTo(Integer value) {
            addCriterion("supplier_id =", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotEqualTo(Integer value) {
            addCriterion("supplier_id <>", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdGreaterThan(Integer value) {
            addCriterion("supplier_id >", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("supplier_id >=", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdLessThan(Integer value) {
            addCriterion("supplier_id <", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdLessThanOrEqualTo(Integer value) {
            addCriterion("supplier_id <=", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIn(List<Integer> values) {
            addCriterion("supplier_id in", values, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotIn(List<Integer> values) {
            addCriterion("supplier_id not in", values, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdBetween(Integer value1, Integer value2) {
            addCriterion("supplier_id between", value1, value2, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotBetween(Integer value1, Integer value2) {
            addCriterion("supplier_id not between", value1, value2, "supplierId");
            return (Criteria) this;
        }

        public Criteria andBusinessModelIsNull() {
            addCriterion("business_model is null");
            return (Criteria) this;
        }

        public Criteria andBusinessModelIsNotNull() {
            addCriterion("business_model is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessModelEqualTo(Integer value) {
            addCriterion("business_model =", value, "businessModel");
            return (Criteria) this;
        }

        public Criteria andBusinessModelNotEqualTo(Integer value) {
            addCriterion("business_model <>", value, "businessModel");
            return (Criteria) this;
        }

        public Criteria andBusinessModelGreaterThan(Integer value) {
            addCriterion("business_model >", value, "businessModel");
            return (Criteria) this;
        }

        public Criteria andBusinessModelGreaterThanOrEqualTo(Integer value) {
            addCriterion("business_model >=", value, "businessModel");
            return (Criteria) this;
        }

        public Criteria andBusinessModelLessThan(Integer value) {
            addCriterion("business_model <", value, "businessModel");
            return (Criteria) this;
        }

        public Criteria andBusinessModelLessThanOrEqualTo(Integer value) {
            addCriterion("business_model <=", value, "businessModel");
            return (Criteria) this;
        }

        public Criteria andBusinessModelIn(List<Integer> values) {
            addCriterion("business_model in", values, "businessModel");
            return (Criteria) this;
        }

        public Criteria andBusinessModelNotIn(List<Integer> values) {
            addCriterion("business_model not in", values, "businessModel");
            return (Criteria) this;
        }

        public Criteria andBusinessModelBetween(Integer value1, Integer value2) {
            addCriterion("business_model between", value1, value2, "businessModel");
            return (Criteria) this;
        }

        public Criteria andBusinessModelNotBetween(Integer value1, Integer value2) {
            addCriterion("business_model not between", value1, value2, "businessModel");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNull() {
            addCriterion("discount_amount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNotNull() {
            addCriterion("discount_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountEqualTo(BigDecimal value) {
            addCriterion("discount_amount =", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotEqualTo(BigDecimal value) {
            addCriterion("discount_amount <>", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThan(BigDecimal value) {
            addCriterion("discount_amount >", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount >=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThan(BigDecimal value) {
            addCriterion("discount_amount <", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount <=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIn(List<BigDecimal> values) {
            addCriterion("discount_amount in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotIn(List<BigDecimal> values) {
            addCriterion("discount_amount not in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount not between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountIsNull() {
            addCriterion("balance_amount is null");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountIsNotNull() {
            addCriterion("balance_amount is not null");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountEqualTo(Double value) {
            addCriterion("balance_amount =", value, "balanceAmount");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountNotEqualTo(Double value) {
            addCriterion("balance_amount <>", value, "balanceAmount");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountGreaterThan(Double value) {
            addCriterion("balance_amount >", value, "balanceAmount");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("balance_amount >=", value, "balanceAmount");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountLessThan(Double value) {
            addCriterion("balance_amount <", value, "balanceAmount");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountLessThanOrEqualTo(Double value) {
            addCriterion("balance_amount <=", value, "balanceAmount");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountIn(List<Double> values) {
            addCriterion("balance_amount in", values, "balanceAmount");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountNotIn(List<Double> values) {
            addCriterion("balance_amount not in", values, "balanceAmount");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountBetween(Double value1, Double value2) {
            addCriterion("balance_amount between", value1, value2, "balanceAmount");
            return (Criteria) this;
        }

        public Criteria andBalanceAmountNotBetween(Double value1, Double value2) {
            addCriterion("balance_amount not between", value1, value2, "balanceAmount");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountIsNull() {
            addCriterion("act_discount_amount is null");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountIsNotNull() {
            addCriterion("act_discount_amount is not null");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountEqualTo(BigDecimal value) {
            addCriterion("act_discount_amount =", value, "actDiscountAmount");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountNotEqualTo(BigDecimal value) {
            addCriterion("act_discount_amount <>", value, "actDiscountAmount");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountGreaterThan(BigDecimal value) {
            addCriterion("act_discount_amount >", value, "actDiscountAmount");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("act_discount_amount >=", value, "actDiscountAmount");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountLessThan(BigDecimal value) {
            addCriterion("act_discount_amount <", value, "actDiscountAmount");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("act_discount_amount <=", value, "actDiscountAmount");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountIn(List<BigDecimal> values) {
            addCriterion("act_discount_amount in", values, "actDiscountAmount");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountNotIn(List<BigDecimal> values) {
            addCriterion("act_discount_amount not in", values, "actDiscountAmount");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("act_discount_amount between", value1, value2, "actDiscountAmount");
            return (Criteria) this;
        }

        public Criteria andActDiscountAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("act_discount_amount not between", value1, value2, "actDiscountAmount");
            return (Criteria) this;
        }

        public Criteria andCouponIdIsNull() {
            addCriterion("coupon_id is null");
            return (Criteria) this;
        }

        public Criteria andCouponIdIsNotNull() {
            addCriterion("coupon_id is not null");
            return (Criteria) this;
        }

        public Criteria andCouponIdEqualTo(Long value) {
            addCriterion("coupon_id =", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdNotEqualTo(Long value) {
            addCriterion("coupon_id <>", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdGreaterThan(Long value) {
            addCriterion("coupon_id >", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdGreaterThanOrEqualTo(Long value) {
            addCriterion("coupon_id >=", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdLessThan(Long value) {
            addCriterion("coupon_id <", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdLessThanOrEqualTo(Long value) {
            addCriterion("coupon_id <=", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdIn(List<Long> values) {
            addCriterion("coupon_id in", values, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdNotIn(List<Long> values) {
            addCriterion("coupon_id not in", values, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdBetween(Long value1, Long value2) {
            addCriterion("coupon_id between", value1, value2, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdNotBetween(Long value1, Long value2) {
            addCriterion("coupon_id not between", value1, value2, "couponId");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountIsNull() {
            addCriterion("share_coupon_amount is null");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountIsNotNull() {
            addCriterion("share_coupon_amount is not null");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountEqualTo(Double value) {
            addCriterion("share_coupon_amount =", value, "shareCouponAmount");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountNotEqualTo(Double value) {
            addCriterion("share_coupon_amount <>", value, "shareCouponAmount");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountGreaterThan(Double value) {
            addCriterion("share_coupon_amount >", value, "shareCouponAmount");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("share_coupon_amount >=", value, "shareCouponAmount");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountLessThan(Double value) {
            addCriterion("share_coupon_amount <", value, "shareCouponAmount");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountLessThanOrEqualTo(Double value) {
            addCriterion("share_coupon_amount <=", value, "shareCouponAmount");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountIn(List<Double> values) {
            addCriterion("share_coupon_amount in", values, "shareCouponAmount");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountNotIn(List<Double> values) {
            addCriterion("share_coupon_amount not in", values, "shareCouponAmount");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountBetween(Double value1, Double value2) {
            addCriterion("share_coupon_amount between", value1, value2, "shareCouponAmount");
            return (Criteria) this;
        }

        public Criteria andShareCouponAmountNotBetween(Double value1, Double value2) {
            addCriterion("share_coupon_amount not between", value1, value2, "shareCouponAmount");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}